package com.demo.ObjectOutputStream_;

import java.io.Serializable;

/**
 * @author gy
 * @date 2022/4/5
 */
public class Master implements Serializable {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Master(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Master{" +
                "name='" + name + '\'' +
                '}';
    }
}
